package xyz.chaobei.thread.simple;

/**
 * @copyright (C), 2015-2020
 * @fileName: SimpleThread
 * @author: MRC
 * @date: 2021/1/25 22:57
 * @description:
 */
public class SimpleThread implements Runnable {

    private String name;

    public SimpleThread(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        for (int i = 0; i <= 10; i++) {
            System.out.println(name + "num=" + i);
        }
    }
}
